package com.example.flower_shop.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PreOrderResp {
    @Schema(description = "预下单号")
    private String preOrderNo;
    @Schema(description = "订单商品信息列表")
    private List<ProductInfo> productInfoList;
    @Schema(description = "总商品金额")
    private BigDecimal totalPrice;
    @Schema(description = "优惠金额")
    private BigDecimal discountPrice;
    @Schema(description = "实际支付价格")
    private BigDecimal actualPay;
}
